package com.chengwang.bookstory.service;

import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface TypeService {
    void addType(String type);

    List<String> queryAllType();

    void deleteType(String type);

    void updateType(String type1, String type2);
}
